<#import "../tpl/pageTep.ftl" as page>
<@page.pageBase currentMenu="机构认证">
<style>
    .wrap {
        margin: 150px auto 550px;;
    }

    .aut {
        margin: 0 auto;
        font-size: 20px;
        text-align: center;
        width: 150px;
        height: 60px;
        line-height: 60px;
        background-color: #65b2e3;
        border-radius: 6px;

    }

    .aut a {
        color: #FFFFFF;
        text-decoration: none;
    }

    p {
        margin: 10px auto;
        padding: 0;
        text-align: center;
        font-size: 12px;
    }

</style>

<div class="wrap">
    <div class="aut"></div>
    <p>*首次登陆平台还未认证机构，请点击按钮认证机构</p></div>
<script>

    function getSession() {
        $.ajax({
            type: "GET",
            url: "/getSession",
            dataType: "json",
            success: function (data) {
//                var id;
//                id = data.data.organize.id;
                sessionStorage.id = data.data.organize.id;
                var str = JSON.stringify(data.data.organize);
                sessionStorage.obj = str;
                var autHtml = '';
                autHtml += '<a href="${basepath}/manage/organize/toAdd?id=' + sessionStorage.id  + '">机构认证</a>';
                $(".aut").html(autHtml);
            }
        })
    }

    getSession();
</script>


</@page.pageBase>